chore(examples): Apply RNRepo to FabricExample#3963
Merged
kkafar merged 5 commits intosoftware-mansion:mainfrom May 4, 2026
Merged
chore(examples): Apply RNRepo to FabricExample#3963kkafar merged 5 commits intosoftware-mansion:mainfrom
kkafar merged 5 commits intosoftware-mansion:mainfrom
Conversation
ce2be8d to
ed2aa91
Compare
876e0ee to
11d2460
Compare
kkafar
reviewed
May 4, 2026
…le and Gradle files
3eca023 to
8063ab9
Compare
buildscript is resolved as first, so it has to be inside, or imported from another gradle file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds RNRepo build-tools integration to
FabricExampleso that CI builds can consume pre-built native dependencies instead of compiling them from scratch, speeding up CI.The integration is guarded by
CI=true/ENV['CI']environment variables, so local development is unaffected.Changes
FabricExample/android/build.gradle— resolves@rnrepo/build-toolsvia Node and adds its Gradle plugin JAR to the buildscript classpath.FabricExample/android/app/build.gradle— appliesorg.rnrepo.tools.prebuilds-pluginwhen running in CI.FabricExample/ios/Podfile— requires the RNRepo CocoaPods plugin and callsrnrepo_post_installin thepost_installhook, both gated onENV['CI'].FabricExample/package.json— adds@rnrepo/build-tools ~0.1.3-beta.0as a dev dependency.Performance
CI build time comparison (rnrepo vs baseline):
Android sees the biggest wins (~20% standard, ~40% with cache). iOS gains are visible when
rncoreis prebuilt (~12%) (tracked in #3955).Test plan
CI=true) still works without any RNRepo-related side effects.CI=trueshould pick up pre-built artifacts via the RNRepo plugin on both Android and iOS.